function [hax,newhrect]=keyhighlight2(m,n,col,row,hrect,hax,hfig,fontsize,colr,txtcolr)
global sqedge
%Highlight Selected Key using given color
newhrect=hrect;

%Highlight square
set(hrect(col,row),'Position',[(col-1)*sqedge,(row-1)*sqedge,sqedge,sqedge],'FaceColor',colr);

%Bring object to front
uistack(hrect(col,row),'top');

%Highlight letter inside the square
% txtxpos=(col-1)*sqedge+(sqedge/2);txtypos=(row-1)*sqedge+(sqedge/2);
% lmatrix=reshape(letters,m,n);
% set(hletter(col,row),'Position',[txtxpos,txtypos],'Color',txtcolr,'Fontsize',fontsize+12,'HorizontalAlignment','center','String',char(lmatrix(col,row)));
% uistack(hletter(col,row),'top');
drawnow;
end

